//
//  HomeContentHeadView.m
//  BusinessMarket
//
//  Created by Michael Li on 2018/11/28.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import "HomeContentHeadView.h"
@interface HomeContentHeadView()<UIScrollViewDelegate>
@property(nonatomic,strong) UIScrollView *titleScrollView;
@end
@implementation HomeContentHeadView

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showSubScrollTitle:) name:@"showSubScrollTitle" object:nil];
        self.titleScrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, kWidth, 40)];
        self.titleScrollView.showsHorizontalScrollIndicator = NO;
        [self addSubview:self.titleScrollView];
        self.titleScrollView.delegate = self;
    }
    return self;
}
-(void)showSubScrollTitle:(NSNotification *)info
{
    [self setUpUI];
//    NSDictionary *dict = info.userInfo;
//    XLog(@"dict:%@",dict);

}
-(void)dealloc
{
    [[NSNotificationCenter defaultCenter]removeObserver:self];
}
-(void)setUpUI
{
    
}
@end
